<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>回车房产云</title>
    <!-- 制定规则 -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- SEO 搜索 -->
    <meta name="keywords" content="房金时代,楼盘,房价,买房">
    <meta name="description" content="房金时代"/>
    <meta name="author" content="韩拓,高尹,欧阳宇,樊秋艳,李帅,汪显武">

    <meta name="copyright" content="本网站版权归西安回车网络科技有限公司所有">
    <!-- ICON 设置-->
    <link rel="shortcut icon" href="/Extend/images/logo/web-logo.png">
    <!-- CSS -->
    <link rel="stylesheet" href="/Extend/css/Gstyle.css">
    <link rel="stylesheet" href="/Extend/css/BGstyle.css">
    <link rel="stylesheet" href="/Manage/css/inserts.css">
    <!-- JS -->
    <script type="text/javascript" src="/Extend/js/jquery-3.3.1.js"></script>
    <script type="text/javascript" src="/Extend/js/Gstyle.js"></script>
    <script type="text/javascript" src="/Manage/js/inserts.js"></script>
    <script>
        window.UEDITOR_HOME_URL = "/manage/Ueditup/index?auth=building";
    </script>
    <script type="text/javascript" src="/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" src="/ueditor/ueditor.all.js"></script>
    <script type="text/javascript" src="/ueditor/ueditor.all.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="/ueditor/lang/zh-cn/zh-cn.js"></script>
</head>
<body>
<input class="page-id" type="hidden" value="{$info.id}">
<!--文字-->
<div class="alert-word alert-cover-body" onclick="coverCloses(this)">
    <div class="alert-type-item-inner" onclick="eventStop(this)">
        <div class="alert-type-item-tit">
            <div class="alert-type-item-title fl">添加文字</div>
            <div class="alert-type-item-close fr" onclick="alertCloses(this)"></div>
        </div>
        <div class="add-form">
            <input name="title" class="alert-type-item-inp alert-text-input" type="text" placeholder="标题" autocomplete="off">
            <textarea class="alert-type-item-textarea alert-text-textarea" placeholder="请输入文本内容...." maxlength="500"></textarea>
            <button class="alert-type-item-btn alert-font-add" data-id="{$info.id}" data-role="text">确 定</button>
        </div>
    </div>
</div>
<!--文字end-->

<!--单图-->
<div class="alert-picture alert-cover-body" onclick="coverCloses(this)">
    <div class="alert-type-item-inner" onclick="eventStop(this)">
        <div class="alert-type-item-tit">
            <div class="alert-type-item-title fl">添加单图</div>
            <div class="alert-type-item-close fr" onclick="alertCloses(this)"></div>
        </div>
        <div class="add-form">
            <input name="title" class="alert-type-item-inp alert-picture-input" type="text" placeholder="标题" autocomplete="off">
            <div class="alert-picture-upload">
                <script type="text/plain" id="upload_ue2"></script>
                <div class="upload2 alert-add-singleImg">
                    <img class="display-singleIimg" id="showSingleImg" src="/Extend/images/add-img1.svg"/>
                </div>
                <input class="single-img-path"  type="hidden" value="{$info.img}" id="single_img" >
            </div>
            <button class="alert-type-item-btn alert-singlePic-add" data-id="{$info.id}" data-role="picture">确 定</button>
        </div>
    </div>
</div>
<!--单图end-->

<!--视频-->
<div class="alert-video alert-cover-body" onclick="coverCloses(this)">
    <div class="alert-type-item-inner" onclick="eventStop(this)">
        <div class="alert-type-item-tit">
            <div class="alert-type-item-title fl">添加视频</div>
            <div class="alert-type-item-close fr" onclick="alertCloses(this)"></div>
        </div>
        <div class="add-form">
            <input name="title" class="alert-type-item-inp alert-videos-input" type="text" placeholder="标题" autocomplete="off">
            <input type="hidden" class="alert-video-path" value="">
            <div class="upload-videos">
                <form id="postForm" class="up-video-form" enctype="multipart/form-data" action="/manage/upload/video"  method="post">
                    <p><input class="video-path" type="file" name="video" value="iuei" /></p>
                    <p class="video-tip">*注：上传视频格式为mp4，大小不要超过50m</p>
                    <input class="up-video-btn" type="button" value="上 传" />
                    <span class="video-sucess">上传成功,确定吧！</span>
                </form>
            </div>
            <button class="alert-type-item-btn alert-video-add" data-id="{$info.id}" data-role="video" style="margin-top: 45px">确 定</button>
        </div>
    </div>
</div>
<!--视频end-->

<!--多图-->
<div class="alert-album alert-cover-body" onclick="coverCloses(this)">
    <div class="alert-type-item-inner" onclick="eventStop(this)">
        <div class="alert-type-item-tit">
            <div class="alert-type-item-title fl">添加图集</div>
            <div class="alert-type-item-close fr" onclick="alertCloses(this)"></div>
        </div>
        <div class="add-form">
            <input name="title" class="alert-type-item-inp album-title" type="text" placeholder="标题" autocomplete="off">
            <div class="alert-add-album-warp">
                <script type="text/plain" id="upload_ue3"></script>
                <input  type="hidden" value="" name="album-img" id="album-img" >
                <!--上传按钮-->
                <div class="upload3 alert-album">
                    <img src="/Extend/images/add-img.svg">
                </div>
            </div>
            <button class="alert-type-item-btn alert-type-album-btn alert-album-add" data-id="{$info.id}" data-role="album">确 定</button>
        </div>
    </div>
</div>
<!--多图end-->

<!--图文-->
<div class="alert-article alert-cover-body" onclick="coverCloses(this)">
    <div class="alert-type-item-inner" onclick="eventStop(this)" style="height: 515px">
        <div class="alert-type-item-tit">
            <div class="alert-type-item-title fl">添加图文</div>
            <div class="alert-type-item-close fr" onclick="alertCloses(this)"></div>
        </div>
        <div class="add-form">
            <input name="title" class="alert-type-item-inp alert-article-title" type="text" placeholder="标题" placeholder="标题" autocomplete="off">
            <textarea class="alert-type-item-textarea alert-article-textarea" placeholder="请输入文本内容...." style="height: 128px"></textarea>
            <div class="alert-picture-upload">
                <script type="text/plain" id="upload_ue4"></script>
                <div class="upload4 alert-add-singleImg">
                    <img class="display-singleIimg" id="articleImg" src="/Extend/images/add-img1.svg"/>
                </div>
                <input class="article-img-path"  type="hidden" value="{$info.img}" id="article_img" >
            </div>
            <button class="alert-type-item-btn alert-article-add" data-id="{$info.id}" data-role="article" style="margin-top: 30px">确 定</button>
        </div>
    </div>
</div>
<!--图文end-->


<!--类别-->
<div class="alert-type alert-cover-body" onclick="coverClose(this)">
    <div class="alert-type-inner" onclick="eventStop(this)">
        <div class="alert-type-close" onclick="alertClose(this)"></div>
        <div class="alert-type-title">请选择添加内容</div>
        <ul class="alert-type-ul">
            <li>
                <img class="alert-type-img" src="/Manage/images/video.svg" data-name="video">
                <P class="alert-type-txt">视 频</P>
            </li>
            <li>
                <img class="alert-type-img" src="/Manage/images/article.svg" data-name="article">
                <P class="alert-type-txt">图 文</P>
            </li>
            <li>
                <img class="alert-type-img" src="/Manage/images/album.svg" data-name="album">
                <P class="alert-type-txt">图 集</P>
            </li>
            <li>
                <img class="alert-type-img" src="/Manage/images/word.svg" data-name="word">
                <P class="alert-type-txt">文 字</P>
            </li>
            <li>
                <img class="alert-type-img" src="/Manage/images/picture.svg" data-name="picture">
                <P class="alert-type-txt">单 图</P>
            </li>
        </ul>
    </div>
</div>
<!--类别end-->
{include file="../../template/alert"/}
<div class="container">
    <div class="left">
        {include file="index/Template-aside"/}
    </div>
    <div class="right">
        {include file="../../template/page-top"/}
        <div class="content">
            <div class="content-title">
                <span class="content-title-chinese">楼盘上传</span>
                <span class="content-title-english">Building Adding</span>
            </div>
            <div class="content-title-line"></div>
            <!--START-->
            <div class="resualts">
                <div class="upload-infos">
                    <div class="info-tr">
                        <span class="info-tit">楼盘名称：</span>
                        <input name="name" class="info-con info-inp uopload-infomation" type="text" placeholder="请输入楼盘名称" value="{$info.name}" maxlength="40" autocomplete="off">
                    </div>
                    <div class="info-tr">
                        <span class="info-tit">楼盘标语：</span>
                        <input name="slogan" class="info-con info-inp uopload-infomation" type="text" placeholder="请输入楼盘标语" value="{$info.slogan}" maxlength="80" autocomplete="off">
                    </div>
                    <div class="info-tr">
                        <span class="info-tit">楼盘描述：</span>
                        <textarea name="description" class="info-con info-textarea uopload-infomation" placeholder="输入楼盘描述"   autocomplete="off">{$info.description}</textarea>
                    </div>
                    <div class="info-tr">
                        <span class="info-tit">分享标题：</span>
                        <input name="share_tit" class="info-con info-inp uopload-infomation" type="text" placeholder="请输入楼盘标语" value="{$info.sharetitle}" maxlength="80" autocomplete="off">
                    </div>
                    <div class="info-tr">
                        <span class="info-tit">分享描述：</span>
                        <textarea name="share_desc" class="info-con info-textarea uopload-infomation" placeholder="输入楼盘分享描述" autocomplete="off" style="height: 100px">{$info.sharedec}</textarea>
                    </div>
                    <div class="info-tr">
                        <span class="info-tit">所属公司：</span>
                        <select name="company" class="info-con uopload-infomation info-sel">
                            <option value="" {eq name="$info.company" value="" } selected {/eq}>请选择所属公司</option>
                            <option value="房金时代网络科技有限公司" {eq name="$info.company" value="房金时代网络科技有限公司" } selected {/eq}>房金时代网络科技有限公司</option>
                            <option value="罗宅网络科技有限公司" {eq name="$info.company" value="罗宅网络科技有限公司" } selected {/eq}>罗宅网络科技有限公司</option>
                            <option value="领郡置业有限公司" {eq name="$info.company" value="领郡置业有限公司" } selected {/eq}>领郡置业有限公司</option>
                        </select>
                    </div>

                    <div class="info-tr">
                        <span class="info-tit">所属国家：</span>
                        <select name="country" class="info-con uopload-infomation info-sel">
                            <option value="中国" {eq name="$info.country" value="中国" } selected {/eq}>中国</option>
                            <option value="马来西亚" {eq name="$info.country" value="马来西亚" } selected {/eq}>马来西亚</option>
                            <option value="柬埔寨" {eq name="$info.country" value="柬埔寨" } selected {/eq}>柬埔寨</option>
                            <option value="泰国" {eq name="$info.country" value="泰国" } selected {/eq}>泰国</option>
                            <option value="希腊" {eq name="$info.country" value="希腊" } selected {/eq}>希腊</option>
                            <option value="美国" {eq name="$info.country" value="美国" } selected {/eq}>美国</option>
                        </select>
                    </div>

                    <div class="info-tr">
                        <span class="info-tit">面积区间：</span>
                        <input name="size" class="info-con info-inp uopload-infomation" type="text" placeholder="请输入面积区间" value="{$info.size}" maxlength="40" autocomplete="off">
                    </div>
                    <div class="info-tr">
                        <span class="info-tit">价格区间：</span>
                        <input name="price" class="info-con info-inp uopload-infomation" type="text" placeholder="请输入价格区间" value="{$info.price}" maxlength="40" autocomplete="off">
                    </div>
                    <div class="info-tr">
                        <span class="info-tit">楼盘地址：</span>
                        <input name="address" class="info-con info-inp uopload-infomation" type="text" placeholder="请输入楼盘地址" value="{$info.address}" maxlength="80" autocomplete="off">
                    </div>
                    <div class="info-tr">
                        <div class="info-tit">宣传图片：</div>
                        <div class="info-con">
                            <script type="text/plain" id="upload_ue"></script>
                            <div class="upload add-img-function">
                                {if condition="$info.design_img neq '' "}
                                <img class="display-img" id="showDesignImg" src="{$info.design_img}"/>
                                <div class="reupload-img">上传宣传图</div>
                                {else/}
                                <img class="display-img" id="showDesignImg" src="/Extend/images/add-img.svg"/>
                                {/if}
                            </div>
                            <input name="design_img" class="uopload-infomation"  type="hidden" value="{$info.design_img}"  id="design_img" >
                        </div>
                    </div>
                    <div class="info-tr">
                        <div class="info-tit">背景图片：</div>
                        <div class="info-con">
                            <script type="text/plain" id="upload_ue1"></script>
                            <div class="upload1 add-img-function">
                                {if condition="$info.back_img neq '' "}
                                <img class="display-img" id="showBackImg" src="{$info.back_img}"/>
                                <div class="reupload-img">上传宣传图</div>
                                {else/}
                                <img class="display-img" id="showBackImg" src="/Extend/images/add-img.svg"/>
                                {/if}
                            </div>
                            <input name="back_img" class="uopload-infomation"  type="hidden" value="{$info.back_img}" id="back_img" >
                        </div>
                    </div>
                    {if condition="$info.id neq '' "}
                    <div class="info-tr">
                        <span class="info-tit">内容详情：</span>
                        <div class="info-con">
                            <div class="info-content">
                                {volist name='info.building_desc2' id='info2' key="k"}
                                    {if condition="$info2.role eq 'article' "}<!--图文-->
                                    <div class="content-list" data-type="article" data-id="{$info2.id}">
                                        <form style="display: none">
                                            <input name="title" class="desc-val-article desc-title" type="hidden" value="{$info2.title}">
                                            <input name="content" class="desc-val-article desc-content" type="hidden" value="{$info2.content}">
                                            <input name="img" class="desc-val-article desc-img" type="hidden" value="{$info2.img[0]}">
                                            <input name="id" class="desc-val-article desc-id" type="hidden" value="{$info2.id}">
                                            <input name="role" class="desc-val-article desc-role" type="hidden" value="{$info2.role}">
                                        </form>
                                        <div class="content-info">
                                            <div class="content-info-cover">
                                                <div class="thisContentIndex">{$k}</div>
                                                <div class="thisContenttype">图文</div>
                                                <div class="content-item-title">{$info2.title}</div>
                                            </div>
                                            {if condition="$info2.role eq 'video'"}
                                            <video width="100%" height="100%" id="videos" src="{$info2.content}" loop="loop" controls="controls"></video>
                                            {elseif condition="$info2.role eq 'text'"}
                                            <img class="thisContenImg" src="/Manage/images/text-pre.svg">
                                            {else/}
                                            <img class="thisContenImg" src="{$info2.img[0]}">
                                            {/if}
                                        </div>
                                        <!--操作-->
                                        <div class="content-operation">
                                            {if condition="$k neq '1'"}
                                            <span class="operation-span topest" data-id="{$info2.id}">置顶</span>
                                            <span class="content-operation-line">|</span>
                                            <span class="operation-span goUp"  data-id="{$info2.id}">上移</span>
                                            <span class="content-operation-line">|</span>
                                            {/if}
                                            {if condition="$info.num neq $info2.id"}
                                            <span class="operation-span goDown" data-id="{$info2.id}">下移</span>
                                            <span class="content-operation-line">|</span>
                                            {/if}
                                            <span class="operation-span Delete-span" data-id="{$info2.id}">删除</span>
                                        </div>
                                    </div>
                                    {elseif condition="$info2.role eq 'text' "/}<!--文本-->
                                    <div class="content-list" data-type="word" data-id="{$info2.id}">
                                        <form style="display: none">
                                            <input name="title" class="desc-val-text desc-title" type="hidden" value="{$info2.title}">
                                            <input name="content" class="desc-val-text desc-content" type="hidden" value="{$info2.content}">
                                            <input name="id" class="desc-val-article desc-id" type="hidden" value="{$info2.id}">
                                            <input name="role" class="desc-val-article desc-role" type="hidden" value="{$info2.role}">
                                        </form>
                                        <div class="content-info">
                                            <div class="content-info-cover">
                                                <div class="thisContentIndex">{$k}</div>
                                                <div class="thisContenttype">文本</div>
                                                <div class="content-item-title">{$info2.title}</div>
                                            </div>
                                            {if condition="$info2.role eq 'video'"}
                                            <video width="100%" height="100%" id="videos" src="{$info2.content}" loop="loop" controls="controls"></video>
                                            {elseif condition="$info2.role eq 'text'"}
                                            <img class="thisContenImg" src="/Manage/images/text-pre.svg">
                                            {else/}
                                            <img class="thisContenImg" src="{$info2.img[0]}">
                                            {/if}
                                        </div>
                                        <!--操作-->
                                        <div class="content-operation">
                                            {if condition="$k neq '1'"}
                                            <span class="operation-span topest" data-id="{$info2.id}">置顶</span>
                                            <span class="content-operation-line">|</span>
                                            <span class="operation-span goUp"  data-id="{$info2.id}">上移</span>
                                            <span class="content-operation-line">|</span>
                                            {/if}
                                            {if condition="$info.num neq $info2.id"}
                                            <span class="operation-span goDown" data-id="{$info2.id}">下移</span>
                                            <span class="content-operation-line">|</span>
                                            {/if}
                                            <span class="operation-span Delete-span" data-id="{$info2.id}">删除</span>
                                        </div>
                                    </div>



                                {elseif condition="$info2.role eq 'album' "/}<!--多图-->
                                <div class="content-list" data-type="album" data-id="{$info2.id}">
                                    <form style="display: none">
                                        <input name="title" class="desc-val-album desc-title" type="hidden" value="{$info2.title}">
                                        {volist name='$info2.img' id='images1'}
                                        <input name="img" class="desc-val-album desc-img desc-val-album-images" type="hidden" value="{$images1}">
                                        {/volist}
                                        <input name="id" class="desc-val-album desc-id" type="hidden" value="{$info2.id}">
                                        <input name="role" class="desc-val-album desc-role" type="hidden" value="{$info2.role}">
                                    </form>
                                    <div class="content-info">
                                        <div class="content-info-cover">
                                            <div class="thisContentIndex">{$k}</div>
                                            <div class="thisContenttype">图集</div>
                                            <div class="content-item-title">{$info2.title}</div>
                                        </div>
                                        <img class="thisContenImg" src="{$info2.img[0]}">
                                    </div>
                                    <!--操作-->
                                    <div class="content-operation">
                                        {if condition="$k neq '1'"}
                                        <span class="operation-span topest" data-id="{$info2.id}">置顶</span>
                                        <span class="content-operation-line">|</span>
                                        <span class="operation-span goUp"  data-id="{$info2.id}">上移</span>
                                        <span class="content-operation-line">|</span>
                                        {/if}
                                        {if condition="$info.num neq $info2.id"}
                                        <span class="operation-span goDown" data-id="{$info2.id}">下移</span>
                                        <span class="content-operation-line">|</span>
                                        {/if}
                                        <span class="operation-span Delete-span" data-id="{$info2.id}">删除</span>
                                    </div>
                                </div>



                                    {elseif condition="$info2.role eq 'video' "/}<!--视频-->
                                    <div class="content-list" data-id="{$info2.id}">
                                        <form style="display: none">
                                            <input name="title" class="desc-val-video desc-title" type="hidden" value="{$info2.title}">
                                            <input name="content" class="desc-val-video desc-img" type="hidden" value="{$info2.content">
                                            <input name="id" class="desc-val-video desc-id" type="hidden" value="{$info2.id}">
                                            <input name="role" class="desc-val-video desc-role" type="hidden" value="{$info2.role}">
                                        </form>
                                        <div class="content-info">
                                            <div class="content-info-cover">
                                                <div class="thisContentIndex">{$k}</div>
                                                <div class="thisContenttype">视频</div>
                                                <div class="content-item-title">{$info2.title}</div>
                                            </div>
                                            <video width="100%" height="100%" id="videos" src="{$info2.content}" loop="loop" controls="controls"></video>
                                        </div>
                                        <!--操作-->
                                        <div class="content-operation">
                                            {if condition="$k neq '1'"}
                                            <span class="operation-span topest" data-id="{$info2.id}">置顶</span>
                                            <span class="content-operation-line">|</span>
                                            <span class="operation-span goUp"  data-id="{$info2.id}">上移</span>
                                            <span class="content-operation-line">|</span>
                                            {/if}
                                            {if condition="$info.num neq $info2.id"}
                                            <span class="operation-span goDown" data-id="{$info2.id}">下移</span>
                                            <span class="content-operation-line">|</span>
                                            {/if}
                                            <span class="operation-span Delete-span" data-id="{$info2.id}">删除</span>
                                        </div>
                                    </div>
                                    {else/}<!--单图-->
                                    <div class="content-list" data-type="picture" data-id="{$info2.id}">
                                        <form style="display: none">
                                            <input name="title" class="desc-val-picture desc-title" type="hidden" value="{$info2.title}">
                                            <input name="img" class="desc-val-picture desc-img" type="hidden" value="{$info2.img[0]}">
                                            <input name="id" class="desc-val-picture desc-id" type="hidden" value="{$info2.id}">
                                            <input name="role" class="desc-val-picture desc-role" type="hidden" value="{$info2.role}">
                                        </form>
                                        <div class="content-info">
                                            <div class="content-info-cover">
                                                <div class="thisContentIndex">{$k}</div>
                                                <div class="thisContenttype">单图</div>
                                                <div class="content-item-title">{$info2.title}</div>
                                            </div>
                                            {if condition="$info2.role eq 'video'"}
                                            <video width="100%" height="100%" id="videos" src="{$info2.content}" loop="loop" controls="controls"></video>
                                            {elseif condition="$info2.role eq 'text'"}
                                            <img class="thisContenImg" src="/Manage/images/text-pre.svg">
                                            {else/}
                                            <img class="thisContenImg" src="{$info2.img[0]}">
                                            {/if}
                                        </div>
                                        <!--操作-->
                                        <div class="content-operation">
                                            {if condition="$k neq '1'"}
                                            <span class="operation-span topest" data-id="{$info2.id}">置顶</span>
                                            <span class="content-operation-line">|</span>
                                            <span class="operation-span goUp"  data-id="{$info2.id}">上移</span>
                                            <span class="content-operation-line">|</span>
                                            {/if}
                                            {if condition="$info.num neq $info2.id"}
                                            <span class="operation-span goDown" data-id="{$info2.id}">下移</span>
                                            <span class="content-operation-line">|</span>
                                            {/if}
                                            <span class="operation-span Delete-span" data-id="{$info2.id}">删除</span>
                                        </div>
                                    </div>
                                    {/if}
                                {/volist}
                                <div class="content-add">
                                    <img src="/Extend/images/add-content.svg">
                                </div>
                            </div>
                        </div>
                    </div>
                    {/if}
                </div>
                <div class="btn-area">
                    {if condition="$info.id eq ''"}
                    <button class="save final-btn">保 存</button>
                    {else/}
                    <button class="save final-btn uopload-infomation" name="id"  value="{$info.id}">保 存</button>
                    {/if}
                </div>
            </div>
            <!--END-->
        </div>
    </div>
</div>
</body>
</html>